package com.ctshk.rpc.user.mapper;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.ctshk.rpc.user.base.CustomBaseMapper;
import com.ctshk.rpc.user.entity.PassengerCertificates;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

public interface PassengerCertificatesMapper extends CustomBaseMapper<PassengerCertificates> {

    @Delete("delete from t_user_passenger_certificates where user_passenger_id = #{userPassengerId}")
    void deleteByUserPassengerId(@Param("userPassengerId") Long userPassengerId);
}